//
//  DefinitiveCancelViewController.swift
//  koolcar
//
//  Created by kuaimaxiansheng on 2023/11/3.
//

import UIKit
import RxCocoa
class DefinitiveCancelViewController: BaseViewController {
    var titleLab: UILabel!
    var codeView: MHVerifyCodeView!
    var resentBtn: UIButton!
    var timer: Timer!
    var timeCount: NSInteger = 60
    var msgTipLab: UILabel! //提示语
    override func viewDidLoad() {
        super.viewDidLoad()
        self.initTabbar()

    }
    
    func initTabbar(){
        let bgView = UIView(frame: CGRect(x: 0, y: kScreenHeight - TabbarHeight, width: kScreenWidth, height: TabbarHeight))
        bgView.backgroundColor = .clear
        self.view.addSubview(bgView)
        
        let cancelBtn = UIButton(frame: CGRect(x: 14, y: 10, width: kScreenWidth - 28, height: 46))
        cancelBtn.backgroundColor = Theme.mainColor
        cancelBtn.layer.cornerRadius = 8
        cancelBtn.layer.masksToBounds = true
        cancelBtn.setTitleColor(.white, for: .normal)
        cancelBtn.setTitle(MMLocalizedString("definitive_cancellation", comment: "确定注销"), for: .normal)
        cancelBtn.titleLabel?.font = UIFont(name: Theme.PingFangSCMedium, size: 16)
        cancelBtn.addTarget(self, action: #selector(cancelBtnAntion), for: .touchUpInside)
        bgView.addSubview(cancelBtn)
    }
    
    
    @objc func cancelBtnAntion(){
        
        
    }
    
}
